package cqrtplm.entity;

import com.ty.basic.entity.CTyEntityBaseDO;
import com.ty.basic.util.TyOtype;
import cqrtplm.constant.RTTableTypeConstant;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.math.BigInteger;

@Data
@Entity
@Table(name = "RT_CFG_ENGRAVE_TYPE")
@TyOtype(
        displayName = RTTableTypeConstant.TYPE_ENGRAVE_TYPE
)
public class RTEngraveTypeDO extends CTyEntityBaseDO {

    @Id
    @Column(name = "oid")
    private BigInteger oid;

    @TyOtype(
            name = RTTableTypeConstant.TYPE_ENGRAVE_TYPE
    )
    @Column(name = "otype")
    private String otype= RTTableTypeConstant.TYPE_ENGRAVE_TYPE;

    @Column(name = "create_user")
    private String createUser;

    @Column(name = "create_user_cname")
    private String createUserCname;

    @Column(name = "created_company_id")
    private String createdCompanyId;

    @Column(name = "dr")
    private Integer dr;

    @Column(name = "owned_company_ids")
    private String ownedCompanyIds;

    @Column(name = "update_user")
    private String updateUser;

    @Column(name = "update_user_cname")
    private String updateUserCname;

    @Column(name = "ver")
    private Integer ver;

    @Column(name = "remark")
    private String remark;

    @Column(name = "stop_flag")
    private Boolean stopFlag;

    @Column(name = "type")
    private String type;
}